﻿	<div id="header">
    	<div class="header-title">
        	<div class="logo"><a href="{$site_url}"><img src="{SITE_URL}/{UPFILE_PATH}/{WEBLOGO}" alt="{$page_title}" onerror="this.src='{$bg_pic_url}image/logo.gif'"  /></a></div>
            <div class="top-right">
            	<div class="top-nav"><span><a class = "chlnk" style =" cursor:hand" href onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage('{$site_url}');">{$lang.set_home}</a></span><span>|&nbsp;&nbsp;<a href="javascript:window.external.AddFavorite('{$site_url}','{$page_title}')">{$lang.add_to_favorites}</a></span>
                                                                  <select id="language" name="language" onChange="lang_select(this.value)"  >
                                                                   <option value="zh-cn">{$lang.languages_select}</option>
                                                                   <!--{foreach($langdata as $_key => $_value )}--> 
																   <option value="{$_key}" <!--{if ($langtype == $_key)}-->selected="selected"<!--{/if}-->>{$_value}</option>
                                                                   <!--{/foreach}--> 
                                                                   
                                                                   </select>                
                </div>
            </div>
        </div>
    	<div class="header-nav">
        	<ul class="menu">

								   <!--{foreach($navigation as $_key => $_value )}-->

                                 <!--{if ($_value.whree=='top')}-->


<li><a href="{$_value.link}" target="{$_value.config.target}" <!--{if ( strstr(WEB_URL,$_value.link) )}--> class='on' <!--{/if}--> >{$_value.name}</a></li>
                                 <!--{/if}-->


<!--{/foreach}-->                    
                
                
            </ul>
            <div class="search"><form action="{$site_url}/?app=prot" method="post"><input type="text" class="search" name="word" /><input class="submit" type="submit" value="" /></form></div>
        </div>
    </div>
                                                          <script type="text/javascript" language="javascript">
														   function lang_select(val)
                                                            {
	                                                        window.location.href = "{SITE_URL}/?langid="+val;															
                                                            }
														   </script>